package org.melanesia.beans.exceptions;

/**
 * Thrown inside {@link org.melanesia.beans.CompositeSetter} when error occurs
 * during bean instantiation in composite property path.
 *
 * @author marcin.kielar
 */
public class PropertyBeanInstantiationException extends BeanAccessException {

    /** Serial version uid for serialization. */
    private static final long serialVersionUID = 895717813613601069L;

    /**
     * Constructs new {@link PropertyBeanInstantiationException} with the
     * specified detail message.
     *
     * @param message
     *            message
     */
    public PropertyBeanInstantiationException(final String message) {
        super(message);
    }

    /**
     * Constructs new {@link PropertyBeanInstantiationException} with the
     * specified detail message and a cause.
     *
     * @param message
     *            message
     * @param cause
     *            the cause
     */
    public PropertyBeanInstantiationException(final String message, final Throwable cause) {
        super(message, cause);
    }
}
